var base64='emhhbmdzYW46MTIzNDU2';
var buffer=Buffer.from(base64,'utf-8');
console.log(buffer);